package top.syfy.bili.fbm.entry;

import java.io.Serializable;

/**
 * 缓存专辑下的单个缓存文件的实体（具体的信息见每个缓存目录下的 entry.json 文件的 page_data 部分信息）
 *
 * @author syfy
 * @date 2021/02/01
 */
public class PageData implements Serializable {

	private static final long serialVersionUID = 5857017893250689722L;

	/* cid */
	private Long cid;

	/* 集数 */
	private Integer page;

	/* 集数标题 */
	private String part;

	/* 缓存文件的视频组成部分文件的绝对路径(根据entry.json来计算) */
	private String videoPart;

	/* 缓存文件的音频组成部分文件的绝对路径(根据entry.json来计算) */
	private String audioPart;

	public PageData() {}

	public Long getCid() {
		return cid;
	}

	public void setCid(Long cid) {
		this.cid = cid;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public String getPart() {
		return part;
	}

	public void setPart(String part) {
		this.part = part;
	}

	public String getVideoPart() {
		return videoPart;
	}

	public void setVideoPart(String videoPart) {
		this.videoPart = videoPart;
	}

	public String getAudioPart() {
		return audioPart;
	}

	public void setAudioPart(String audioPart) {
		this.audioPart = audioPart;
	}

	@Override
	public String toString() {
		return "PageData{" +
			"cid=" + cid +
			", page=" + page +
			", part='" + part + '\'' +
			", videoPart='" + videoPart + '\'' +
			", audioPart='" + audioPart + '\'' +
			'}';
	}
}
